package com.example.day1901;

import java.io.IOException;
import java.io.PrintStream;

/**
 * @author Lenovo
 */
public class PrinntStreamDemo {
    public static void main(String[] args) throws IOException {
        PrintStream ps = new PrintStream("myOtherStream\\ps.txt");
        ps.println(97);
        ps.println(98);
        ps.close();


    }
}
